home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 1
/
CD Fun House (Wayzata Technology).iso
/
•AdventureLand•
/
Adventures
/
SpaceEscape ••••
/
SpaceEscape ееее
/
card_29198.txt
< prev
next >
Wrap
Text File
|
1990-10-02
|
3KB
|
116 lines
-- card: 29198 from stack: in
-- bmap block id: 14978
-- flags: 4000
-- background id: 8902
-- name: id guard
----- HyperTalk script -----
on opencard
put "This is a very bored-looking guard." into field "info"
pass opencard
end opencard
-- part 1 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=161 top=302 right=323 bottom=192
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: OK
----- HyperTalk script -----
on mouseUp
global filter
if filter is "yes" then
beep
exit mouseup
end if
global donteat
get bkgnd field "do what"
if the number of words in it > 1 then
beep 2
oneword
exit mouseup
end if
if it contains "examine" or it contains "look" then
send "opencard" to this card
exit mouseup
end if
if it contains "hit" or it contains "kick" or it contains "punch" or it contains "push" or it contains "attack" or it contains "kill" then
play "boing"
put "When you hit the Drool, he goes wild and hits you. Very "& "hard. To make a long story short, he kills you.≈∏"into field"info"
global filter
put "yes" into filter
global action
put "attack" into action
exit mouseup
end if
if it contains "eat" or it contains "consume" then
put "When you bite the Drool, he goes wild and hits you. Very "& "hard. To make a long story short, he kills you.≈∏"into field"info"
global filter
put "yes" into filter
global action
put "attack" into action
exit mouseup
end if
if it contains "talk" or it contains "speak" then
put "The Drool is not listening."into field"info"
exit mouseup
end if
if it contains "give" or it contains "offer"or it contains "show"then
ask "What would you like to show the Drool?"
if it contains "id" or it contains "card" then
global inventory
if inventory contains "id card" then
put "The guard salutes, opens the door, ushers you into the "& "next room, and closes the door behind you.≈∏" into field "Info"
global filter
put "yes" into filter
global action
put "yah" into action
exit mouseup
else
put "You don't have it." into field "info"
exit mouseup
end if
else
put "The guard is not interested in the "&it&"." into field "Info"
exit mouseup
end if
end if
if it is "" then
put "Speak up. I can't hear you." into field "info"
exit mouseup
end if
idunno
end mouseUp
on cont
global filter
if filter is "yes" then
global action
if action is "attack" then
go to card "death"
put "" into filter
end if
if action is "yah" then
go to card "foyer"
global filter
put "" into filter
end if
end if
end cont
-- part contents for background part 2
----- text -----
What would you like to do with the Art?
-- part contents for background part 7
----- text -----
Guard